package bean;

import java.util.Random;
import java.util.UUID;

public class ResponseBodyDTO {
    private Random random;
    private int field4;
    private String field5;
    private boolean field6;

    public ResponseBodyDTO(int field4, String field5, boolean field6) {
        random = new Random();
        this.field4 = random.nextInt(Integer.MAX_VALUE) / field4;
        this.field5 = field5 + UUID.randomUUID().toString();
        boolean val = Math.random() < 0.5 ? true : false;
        if (field6) {
            this.field6 = val;
        } else {
            this.field6 = !val;
        }
    }

    public int getField4() {
        return field4;
    }

    public void setField4(int field4) {
        this.field4 = field4;
    }

    public String getField5() {
        return field5;
    }

    public void setField5(String field5) {
        this.field5 = field5;
    }

    public boolean isField6() {
        return field6;
    }

    public void setField6(boolean field6) {
        this.field6 = field6;
    }
}
